package com.bifrost.service;

import com.bifrost.constant.MerchantConfigurationType;
import com.bifrost.entity.MerchantStore;
import com.bifrost.entity.User;
import com.bifrost.model.ConfigurationModel;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @author Lee
 * Create Class on 2018/9/6
 * @com.bifrost.service
 * @wechat-mall
 */
public interface MerchantConfigurationService {
    void save(List<ConfigurationModel> configurationModels, MerchantStore store, User byId);

    void update(List<ConfigurationModel> configurationModels, MerchantStore merchantStore, User byId);
    List<Map> configTypes(MerchantStore merchantStore);
    MerchantConfigurationType getType(String type);

    void configDelete(Long id);
}
